package com.epam.mainmenu;

import com.epam.menu.MenuItem;
import com.epam.stone.PreciousStone;

public class CompositionNecklace extends MenuItem {

	public CompositionNecklace() {
		super("Composition of beads","2");
	}

	@Override
	public boolean execute(){
		System.out.println("Composition comand");
		System.out.println("Your necklace is composed of- ");
		for(PreciousStone beads:necklace){
			System.out.println(beads.toString());
		}
		return true;
	}

}
